using System;
using System.Collections.Generic;
using System.Text.Json;

namespace annotation_language.lib
{
    public class Ontology
    {
        public String ontology_name { get; set; }
        public List<String> ontology_lexis { get; set; }
    }
    public class Ontology_manager
    {
        List<Ontology> ontologies;
        public Ontology_manager(byte[] ontology_file)
        {
            this.ontologies = JsonSerializer.Deserialize<List<Ontology>>(ontology_file);
        }
    }
}
